package cn.lili.modules.member.entity.dto;

import cn.lili.common.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDate;

@Data
public class CityDistributionDTO extends PageVO {
    /**
     * 城主id
     */
    @NotEmpty(message = "城主id不可为空")
    private String id;
    /**
     * 省code
     */
    private String privinceCode;
    /**
     * 城市code
     */
    private String cityCode;
    /**
     * 区县code
     */
    private String districtCode;

    /**
     * 年
     */
    private Integer yearDate;

    /**
     * 月
     */
    private Integer monthDate;

    /**
     * 日期参数
     */
    private String dateParam;

    //================明细列表================
    @ApiModelProperty("订单id")
    private String orderNo;
    @ApiModelProperty("用户id")
    private String buyerId;
    @ApiModelProperty("结算状态: 1,已结算,2,未结算,3,已退单")
    private Integer profitSharingType;
    @ApiModelProperty("结算状态: 已结算,未结算,已退单")
    private String profitSharing;


    @ApiModelProperty("地址code条件")
    private String joinAddressCode;
    @ApiModelProperty("开始日期条件筛选")
    private String startLocalDate;
    @ApiModelProperty("结束日期条件筛选")
    private String endLocalDate;
    /**
     * 用户id
     */
    private String memberId;

    private String nickName;

    /**
     * 收益发放状态' 1,待发放 2,已发放'
     */
    private Integer comissStatus;
}
